package cn.scnu.model.dto;

import cn.scnu.model.enums.QueryOperationEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * TODO
 *
 * @author hqz
 * @className FieldMapOperate
 * @createTime 2024年11月29日 14:44:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(description = "Field Map Operation Data Transfer Object")
public class FieldMapOperateDTO implements Serializable {
    @ApiModelProperty(value = "Field name", example = "fieldName")
    private String field;

    @ApiModelProperty(value = "Query operation", example = "equals")
    private QueryOperationEnum operate;

    @ApiModelProperty(value = "Field value", example = "value")
    private Object value;
}
